<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<body>

<ui:composition template="/template/template.xhtml">

	<ui:define name="title">Salvar Versao</ui:define>

	<ui:define name="body">
		<h:form id="form">
			<h:panelGrid columns="1" width="50%">
				
				<h:panelGrid columns="1" >
					<h:outputLabel for="versao" id="label1" value="Versao:"></h:outputLabel>
					<h:inputText id="versao"
						value="#{crudVersao.versaoTO.versao}" styleClass="tamanhoMedio"></h:inputText>
				</h:panelGrid>

				<h:panelGrid columns="1">
					<h:outputLabel for="descricao" id="label3" value="Descricao:"></h:outputLabel>
					<h:inputTextarea id="descricao" rows="5" cols="30" value="#{crudVersao.versaoTO.descricao}" />
				</h:panelGrid>
				
				<h:commandButton value="salvar" action="#{crudVersao.salvar}" styleClass="button"/>

			</h:panelGrid>
		</h:form>
	</ui:define>

</ui:composition>

</body>
</html>